package com.weitu.threeSimultaneities.trackingMonthReport.service.impl;

import com.weitu.threeSimultaneities.trackingMonthReport.entity.ReportInfo;
import com.weitu.threeSimultaneities.trackingMonthReport.mapper.ReportInfoMapper;
import com.weitu.threeSimultaneities.trackingMonthReport.service.ReportInfoService;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReportInfoServiceImpl implements ReportInfoService {
    @Autowired
    private ReportInfoMapper reportInfoMapper;


    @Override
    public ReportInfo selectByPrimaryKey(String id) {
        return this.reportInfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int deleteByPrimaryKey(String id) {
        return this.reportInfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Map<String,Object> record) {
        return this.reportInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ReportInfo record) {
        return this.reportInfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public int insert(ReportInfo record) {
        return this.reportInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(Map<String,Object> record) {
        return this.reportInfoMapper.insertSelective(record);
    }

    @Override
    public List<Map<String, Object>> selectReportInfo(Map<String, Object> map) {
        return this.reportInfoMapper.selectReportInfo(map);
    }

    @Override
    public int selectReportInfoCount(Map<String, Object> map) {
        return this.reportInfoMapper.selectReportInfoCount(map);
    }

}